package com.zygh.policeasset.service;

import com.zygh.policeasset.mapper.AssetOverhaulMapper;
import com.zygh.policeasset.pojo.AssetOverhaul;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/service/AssetOverhaulService.class */
public class AssetOverhaulService {
    @Autowired
    AssetOverhaulMapper assetOverhaulMapper;

    public int add(Integer assetId, String assetType, String overhaulStartMoney, String overhaulRemark, Integer overhaulStatus, String overhaulDotime, Integer overhaulDepreciationPeriod, String overhaulTime, String creatTime, String stopTime) {
        return this.assetOverhaulMapper.add(assetId, assetType, overhaulStartMoney, overhaulRemark, overhaulStatus, overhaulDotime, overhaulDepreciationPeriod, overhaulTime, creatTime, stopTime);
    }

    public int delete(Integer assetId, String assetType, Integer overhaulStatus) {
        return this.assetOverhaulMapper.delete(assetId, assetType, overhaulStatus);
    }

    public List<AssetOverhaul> findByIdAndType(Integer assetId, String assetType) {
        return this.assetOverhaulMapper.findByIdAndType(assetId, assetType);
    }
}